package com.company.cloud.company.modules.api.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public class CompanyConfigConstant {

    /** 分佣模式 */
    public enum ProfitWay implements BaseCodeEnum {
        RECOMMEND("1", "推荐"),
        TEAM("2", "团队"),
        ;

        private String code;
        private String msg;
        private ProfitWay(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {
            return code;
        }
        @Override
        public String getMsg() {
            return msg;
        }
    }

    /** 分佣模式 */
    public enum RewardPrdType implements BaseCodeEnum {
        ALL("1", "所有"),
        ;

        private String code;
        private String msg;
        private RewardPrdType(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {
            return code;
        }
        @Override
        public String getMsg() {
            return msg;
        }
    }


}
